﻿<%@page import="java.util.*" %>
<%@ page trimDirectiveWhitespaces="true" %>
<%
	String Code = (String)session.getAttribute("LanguageCode");
	String SubCode = (String)session.getAttribute("LanguageSubcode");
   	Locale locale = new Locale(Code, SubCode);
	ResourceBundle resource = ResourceBundle.getBundle("resource", locale);
%>
<script>
//--------------------------simple label--------------------------//
	simpleLabel_roomType="<% out.print(resource.getString("simpleLabel.roomType"));%>";
	simpleLabel_Date="<% out.print(resource.getString("simpleLabel.Date"));%>";
	simpleLabel_room="<% out.print(resource.getString("simpleLabel.room"));%>";
	simpleLabel_Message="<% out.print(resource.getString("simpleLabel.Message"));%>";
	simpleLabel_Button_Yes="<% out.print(resource.getString("simpleLabel.Button.Yes"));%>";
	simpleLabel_Button_No="<% out.print(resource.getString("simpleLabel.Button.No"));%>";
	simpleLabel_Button_OK="<% out.print(resource.getString("simpleLabel.Button.OK"));%>";
	simpleLabel_Button_Close="<% out.print(resource.getString("simpleLabel.Button.Close"));%>";
	simpleLabel_Description="<% out.print(resource.getString("simpleLabel.description"));%>";
	simpleLabel_Select="<% out.print(resource.getString("simpleLabel.Select"));%>";
	simpleLabel_Night = "<% out.print(resource.getString("simpleLabel.night"));%>";
	
	//orderpage
	listAmt="<%out.print(resource.getString("POS.Order.list"));%>";
	titleTable="<%out.print(resource.getString("POS.Order.table"));%>";
	titleOrder="<%out.print(resource.getString("POS.Order.titleOrder"));%>";
	titleAdditem ="<%out.print(resource.getString("POS.Order.AddItemList"));%>";
	
	titlePayment ="<%out.print(resource.getString("POS.payment.payment"));%>";
	titleConfirmOrder ="<%out.print(resource.getString("POS.ConfirmOrder.title"));%>";
	
	Month_Full_Apr = "<%=resource.getString("Month.Full.April") %>";
	Month_Full_Aug = "<%=resource.getString("Month.Full.August") %>";
	Month_Full_Dec = "<%=resource.getString("Month.Full.December") %>";
	Month_Full_Feb = "<%=resource.getString("Month.Full.February") %>";
	Month_Full_Jan = "<%=resource.getString("Month.Full.January") %>";
	Month_Full_Jul = "<%=resource.getString("Month.Full.July") %>";
	Month_Full_Jun = "<%=resource.getString("Month.Full.June") %>";
	Month_Full_Mar = "<%=resource.getString("Month.Full.March") %>";
	Month_Full_May = "<%=resource.getString("Month.Full.May") %>";
	Month_Full_Nov = "<%=resource.getString("Month.Full.November") %>";
	Month_Full_Oct = "<%=resource.getString("Month.Full.October") %>";
	Month_Full_Sep = "<%=resource.getString("Month.Full.September") %>";
	
	Month_Short_Apr = "<%=resource.getString("Month.Short.Apr") %>";
	Month_Short_Aug = "<%=resource.getString("Month.Short.Aug") %>";
	Month_Short_Dec = "<%=resource.getString("Month.Short.Dec") %>";
	Month_Short_Feb = "<%=resource.getString("Month.Short.Feb") %>";
	Month_Short_Jan = "<%=resource.getString("Month.Short.Jan") %>";
	Month_Short_Jul = "<%=resource.getString("Month.Short.Jul") %>";
	Month_Short_Jun = "<%=resource.getString("Month.Short.Jun") %>";
	Month_Short_Mar = "<%=resource.getString("Month.Short.Mar") %>";
	Month_Short_May = "<%=resource.getString("Month.Short.May") %>";
	Month_Short_Nov = "<%=resource.getString("Month.Short.Nov") %>";
	Month_Short_Oct = "<%=resource.getString("Month.Short.Oct") %>";
	Month_Short_Sep = "<%=resource.getString("Month.Short.Sep") %>";
	
	Day_Sun = "<%=resource.getString("Calendar.ShortDay.Sun") %>";
	Day_Mon = "<%=resource.getString("Calendar.ShortDay.Mon") %>";
	Day_Tue = "<%=resource.getString("Calendar.ShortDay.Tue") %>";
	Day_Wed = "<%=resource.getString("Calendar.ShortDay.Wed") %>";
	Day_Thu = "<%=resource.getString("Calendar.ShortDay.Thu") %>";
	Day_Fri = "<%=resource.getString("Calendar.ShortDay.Fri") %>";
	Day_Sat = "<%=resource.getString("Calendar.ShortDay.Sat") %>";
	
	//rightClick
	menu_R_one="<%out.print(resource.getString("POS.rightclickMenu.res"));%>";
	menu_R_two="<%out.print(resource.getString("POS.rightclickMenu.Addreservation"));%>";
	menu_R_three="<%out.print(resource.getString("POS.rightclickMenu.CancelReservation"));%>";
	menu_R_four="<%out.print(resource.getString("POS.rightclickMenu.Group"));%>";
	menu_R_five="<%out.print(resource.getString("POS.rightclickMenu.Move"));%>";
	menu_R_six="<%out.print(resource.getString("POS.rightclickMenu.edit"));%>";
	menu_R_seven="<%out.print(resource.getString("POS.rightclickMenu.opennotres"));%>";
	menu_R_eight="<%out.print(resource.getString("POS.rightclickMenu.payment"));%>";
	menu_R_nine="<%out.print(resource.getString("POS.rightclickMenu.orderList"));%>";
	btnres ="<%out.print(resource.getString("POS.res.yes"));%>";
	btncancel="<%out.print(resource.getString("POS.res.cancel"));%>";
	res_R="<%out.print(resource.getString("POS.res.reservation"));%>";
	add_t="<%out.print(resource.getString("POS.res.addtask"));%>";
	
	//updateorder
	action ='<%out.print(resource.getString("POS.Order.genOrder.updateOrder.action"));%>';
	cancelOrder='<%out.print(resource.getString("POS.Order.genOrder.updateOrder.cancelupd"));%>';
	saveUpdateOrder='<%out.print(resource.getString("POS.Order.genOrder.updateOrder.saveUpdateor"));%>';
	
	werningHead="<%out.print(resource.getString("POS.res.werning.head"));%>";
	werningMassage="<%out.print(resource.getString("POS.res.werning.massage"));%>";
	//canres
	cancelres="<%out.print(resource.getString("POS.cancelres.cancelreservation"));%>";
	btncanresCancel="<%out.print(resource.getString("POS.cancelres.cancel"));%>";
	btncanresSave="<%out.print(resource.getString("POS.cancelres.save"));%>";
	btnSave= "<%out.print(resource.getString("Payment.othercharges.btn.save"));%>";
	btnCancel= "<%out.print(resource.getString("Payment.othercharges.btn.cancel"));%>";
	//customOrder
	taitleCustom ="<%out.print(resource.getString("POS.Order.customCharge.customCharge"));%>";
	op1_noneTax ="<%out.print(resource.getString("POS.Order.customCharge.noneTax"));%>";
	
	ShortMonth = [Month_Short_Jan, Month_Short_Feb, Month_Short_Mar, Month_Short_Apr, Month_Short_May, Month_Short_Jun, Month_Short_Jul, Month_Short_Aug, Month_Short_Sep, Month_Short_Oct, Month_Short_Nov, Month_Short_Dec];
	FullMonth = [Month_Full_Jan, Month_Full_Feb, Month_Full_Mar, Month_Full_Apr, Month_Full_May, Month_Full_Jun, Month_Full_Jul,Month_Full_Aug, Month_Full_Sep, Month_Full_Oct, Month_Full_Nov, Month_Full_Dec];
	ShortDay = [Day_Sun,Day_Mon,Day_Tue,Day_Wed,Day_Thu,Day_Fri,Day_Sat];
	
	Alltable ="<%=resource.getString("POS.index.tableBody.btn.alltable")%>";
	CancelOrderTitle = "<%=resource.getString("POS.ConfirmOrder.CancelOrder")%>";
	
	//force logout
	Warning="<%out.print(resource.getString("simpleLabel.warning"));%>";
	ForceLogout="<%out.print(resource.getString("simpleLabel.forcelogout"));%>";
</script>